#ifndef VERTEXARRAYOBJECT_H
#define VERTEXARRAYOBJECT_H

#include "bga/graphics/GLObject.h"

/**
 * \namespace bga
 * \brief API namespace
 */
namespace bga
{

/*!
 * \class VertexArrayObject
 * \brief Class which contains OpenGL VAO operations
 */
class VertexArrayObject : public GLObject
{
	public:
		VertexArrayObject();
		~VertexArrayObject();

        /*!
         * \brief Bind the VAO
         */
        virtual void bind() const;

        /*!
         * \brief Unbind the VAO
         */
        virtual void unbind() const;

    private:
        virtual GLuint generate() const;


};


}

#endif // VERTEXARRAYOBJECT_H

